package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.po.DailyTrainStation;
import com.jiawa.train.business.req.DailyTrainStationQueryReq;
import com.jiawa.train.business.req.DailyTrainStationSaveReq;
import com.jiawa.train.business.resp.DailyTrainStationQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.Date;

/**
 * <p>
 * 每日车站 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface IDailyTrainStationService extends IService<DailyTrainStation> {


    PageResp<DailyTrainStationQueryResp> queryList(DailyTrainStationQueryReq req);

    void delete(Long id);

    void saveDailyTrainStation(DailyTrainStationSaveReq req);

    void genDaily(Date date, String code);

    long countByTrainCode(Date date, String trainCode);
}
